package com.tothefor.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)// 使用链式方法
@TableName("s_question")
public class Question {

    @TableId(type = IdType.AUTO)
    private int id;


    /**
     * 群组名称
     */

    private String name;



    /**
     * 群组类型
     */

    private String type;


    /**
     * 群组状态
     */



    private String answer1;


    private String answer2;


    private String answer3;


    private String answer4;


}
